--- ./liblightdm-gobject/session.c.orig	2013-07-30 16:16:38.000000000 +0000
+++ ./liblightdm-gobject/session.c	2014-03-07 09:45:19.000000000 +0000
@@ -234,7 +234,8 @@
     g_free (config_path);
 
     local_sessions = load_sessions (sessions_dir);
-    remote_sessions = load_sessions (remote_sessions_dir);
+    if (remote_sessions_dir != NULL)
+        remote_sessions = load_sessions (remote_sessions_dir);
 
     g_free (sessions_dir);
     g_free (remote_sessions_dir);
